package cn.gdcp.recyclerview;

import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class StuViewHolder extends RecyclerView.ViewHolder{
    public StuViewHolder(@NonNull View itemView) {
        super(itemView);
        this.view=itemView;
        headView=view.findViewById(R.id.iv_head);
        nameView=view.findViewById(R.id.tv_name);
        ageView=view.findViewById(R.id.tv_age);
        delView=view.findViewById(R.id.del_img);
    }
    View view;
    ImageView headView;
    TextView nameView;
    TextView ageView;
    ImageView delView;
}
